import java.util.Scanner;
import java.math.BigInteger;

public class a021BigIntWithoutAlgorithm {
	public static BigInteger calculator(char operator, BigInteger operand1, BigInteger operand2) {
		BigInteger result = new BigInteger("0");
		
		if(operator == '+')
			{ result = operand1.add(operand2); }
		else if(operator == '-')
			{ result = operand1.subtract(operand2); }
		else if(operator == '*')
			{ result = operand1.multiply(operand2); }
		else
			{ result = operand1.divide(operand2); }
		
		return result;
	}
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String input, output;
		String[] spInput;
		BigInteger operand1, operand2;
		char operator;
		
		while(sc.hasNext()) {
			input = sc.nextLine();
			spInput = input.split(" ");
			
			operand1 = new BigInteger(spInput[0]);
			operand2 = new BigInteger(spInput[2]);
			operator = (spInput[1].toCharArray())[0];

			output = (calculator(operator, operand1, operand2)).toString();
			
			System.out.println(output);
		}
	}
}